package com.lemon.gen.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 数据传输对象
 *
 * @author 李猛
 * @since 2024-02-01
 */
@Getter
@Setter
public class TableDTO extends Page<TableDTO> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private List<String> tableName;

    private String tablePrefix;

    private String author;

    private String packageName;

    private String serviceName;

    private Integer webType;

    private Integer fileOverride;

    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String url;

    private String port;

    private String db;

    private String username;

    private String password;

    private String webPath;

    private Integer dbType;
}
